package net.suplementos.web.action;

import net.suplementos.web.LocalConstantes;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.InterceptorRef;
import org.apache.struts2.convention.annotation.InterceptorRefs;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.Result;

import com.opensymphony.xwork2.ActionSupport;

@Namespace("/notificacoes")
@InterceptorRefs({
	@InterceptorRef(value = "store", params = {"operationMode", "AUTOMATIC"}),
	@InterceptorRef("defaultStack")
})
public class NotificacoesAction extends ActionSupport {

	@Action(value = "notificacoes", results = {
		@Result(name = SUCCESS, location = LocalConstantes.LOCAL_JSP_GERENCIAL_NOTIFICACOES + "/notificacoes.jsp") 
	})
	public String notificacoes() throws Exception {
		return SUCCESS;
	}
}